// 托管静态资源 外部可以访问资源
const express = require("express");

const app = express();

app.use(express.static("./4-path&file-test"));
app.use("/public", express.static("./4-path&file-test"));

app.listen(8080, () => {
  console.log("express server running at http://127.0.0.1:8080");
});
